package com.kinglone.dao;

import java.util.List;

import com.kinglone.model.RegionState;


public interface RegionStateMapper {
    int deleteByPrimaryKey(String sysid);

    int insert(RegionState record);

    int insertSelective(RegionState record);

    RegionState selectByPrimaryKey(String sysid);

    int updateByPrimaryKeySelective(RegionState record);

    int updateByPrimaryKey(RegionState record);

	List<RegionState> getRegionStateListByParentId(String parentid);

	List<RegionState> getCityListByProvinceID(String provinceID);

	List<RegionState> getAreaListByCityID(String cityID);

	RegionState getAreaById(String areaID);

	RegionState getCityById(String parent);

	RegionState getProvinceById(String parent);
}